﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.WebPages;

namespace TestCAI.Controllers
{
    public class HomeController : Controller
    {
        public ActionResult Index()
        {
            return View();
        }

        public RedirectResult SwitchMode(BrowserOverride mode, string returnUrl)
        {
            HttpContext.SetOverriddenBrowser(mode);
            return Redirect(returnUrl);
        }
    }
}
